package de.reondo.jos;

public enum ClassDependencyType {
	UNKNOWN("Unknown", "?"),
	FIELD("Field", "F"),
	METHOD_PARAMETER("Parameter", "P"),
	METHOD_RETURN_TYPE("Return", "R"),
	METHOD_EXCEPTION("Exn", "E"),
	CONSTRUCTOR_PARAMETER("Ctor Parameter", "C"),
	CONSTRUCTOR_EXCEPTION("Ctor Exn", "E"),
	SUPERCLASS("Superclass", "S"),
	INTERFACE("Interface", "I");
	
	private final String name;
	private final String shortName;

	public String getShortName() {
		return shortName;
	}

	private ClassDependencyType(String name, String shortName) {
		this.name = name;
		this.shortName = shortName;
	}

	public String getName() {
		return name;
	}

}
